package com.dc.service;

import com.dc.base.vo.BaseModel;
import com.dc.model.Lease;

public interface LeaseService {
    // 分页查询租出信息
    BaseModel selectPageLease(Integer curr_page, Integer page_size, BaseModel baseModel, Integer lease_id, String client_name,String flower_name);
    // 新增租出
    BaseModel addLease(Lease lease, BaseModel baseModel)throws Exception;
    // 修改租出信息
    BaseModel updateLease(Lease lease, BaseModel baseModel)throws Exception;
    // 删除租出信息
    BaseModel deleteLease(String ids, BaseModel baseModel)throws Exception;
    // 根据id查询租出信息
    BaseModel selectLeaseById(Integer lease_id,BaseModel baseModel)throws  Exception;
}
